package cn.nawang.ebeim.api.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName: StorageStrategy
 * @Description: TODO
 * @author fanyb
 * @date Aug 18, 2015 8:42:10 AM
 * @version v1.0
 */
@Entity
@Table(name = "storage_strategy", catalog = "ebeim")
public class StorageStrategy {
  private String id;
  private String customerId;
  private Long maxCopys;
  private String StorageCloudId1;
  private String StorageCloudId2;
  private String StorageCloudId3;
  
  @Id
  @Column(name = "id", unique = true, nullable = false, length = 45)
  public String getId() {
    return id;
  }
  
  public void setId(String id) {
    this.id = id;
  }
  
  @Column(name = "customer_id")
  public String getCustomerId() {
    return customerId;
  }
  
  public void setCustomerId(String customerId) {
    this.customerId = customerId;
  }
  
  @Column(name = "max_copys")
  public Long getMaxCopys() {
    return maxCopys;
  }
  
  public void setMaxCopys(Long maxCopys) {
    this.maxCopys = maxCopys;
  }
  
  @Column(name = "storage_cloud_id1")
  public String getStorageCloudId1() {
    return StorageCloudId1;
  }
  
  public void setStorageCloudId1(String storageCloudId1) {
    StorageCloudId1 = storageCloudId1;
  }
  
  @Column(name = "storage_cloud_id2")
  public String getStorageCloudId2() {
    return StorageCloudId2;
  }
  
  public void setStorageCloudId2(String storageCloudId2) {
    StorageCloudId2 = storageCloudId2;
  }
  
  @Column(name = "storage_cloud_id3")
  public String getStorageCloudId3() {
    return StorageCloudId3;
  }
  
  public void setStorageCloudId3(String storageCloudId3) {
    StorageCloudId3 = storageCloudId3;
  }
}
